package com.tiku.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 存储课程分类信息的表
 * @TableName course_categories
 */
@TableName(value ="course_categories")
@Data
public class CourseCategories implements Serializable {
    /**
     * 课程分类唯一标识
     */
    @TableId
    private String id;

    /**
     * 课程分类名称
     */
    private String name;

    /**
     * 移动端图标路径
     */
    private String mobileIcon;

    /**
     * H5 图标路径
     */
    private String h5Icon;

    /**
     * PC 端背景图路径
     */
    private String pcBackgroudImg;

    @TableField(exist = false)
    private List<ProfessionCategories> content;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}